﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Wolfy.NetDisk.Client
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            var buffer = File.ReadAllBytes("622762d0f703918fdbfba71d553d269759eec43b.jpg");
            this.textBox1.Text = Convert.ToBase64String(buffer);
        }
    }
}
